﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Library
{
    public class BorrowRecord
    {
        public string Title { get; }
        public int Quantity { get; set; }

        public BorrowRecord(string title, int quantity)
        {
            Title = title;
            Quantity = quantity;
        }

        public override string ToString()
        {
            return $"书名: 《{Title}》\t借阅数: {Quantity}";
        }
    }
}
